package com.sundi.ecusers.service.impl;

import com.sundi.ecusers.entity.EcSearchHistory;
import com.sundi.ecusers.mapper.EcSearchHistoryMapper;
import com.sundi.ecusers.service.IEcSearchHistoryService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 搜索历史表 服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-02-26
 */
@Service
public class EcSearchHistoryServiceImpl extends ServiceImpl<EcSearchHistoryMapper, EcSearchHistory> implements IEcSearchHistoryService {

    @Override
    public List getHistoryList(Integer user_id, String keyword) {
        return baseMapper.getHistoryList(user_id,keyword);
    }
}
